package com.lsq.baseadmin.modules.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lsq.baseadmin.modules.manage.entity.Role;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lsq
 * @since 2020-10-29
 */
public interface RoleService extends IService<Role> {


    List<Role> list(Role role);

    List<Role> listSlave(Role role);

    void updateMenu(int id, Integer[] menuIds);

    void delete(int id);
}
